
<script src="/Modules/system/layuimini/lib/layui-v2.5.5/layui.js" charset="utf-8"></script>

<script>

    //获取目录
    window.rootPath = (function (src) {
        src = document.scripts[document.scripts.length - 1].src;
        return src.substring(0, src.lastIndexOf("/") + 1);
    })();

    layui.config({
        base: rootPath + "/Modules/system/layuimini/js/lay-module/",
        version: true
    }).extend({
        allJs: "chinadmin/allJs",
        arrayJs: "chinadmin/arrayJs",
        chinAdmin: "chinadmin/chinAdmin",
    });

</script>